package com.znufe.exam.viewmodel.vote;

import com.znufe.exam.domain.question.QuestionObject;
import com.znufe.exam.viewmodel.admin.question.QuestionEditRequestVM;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ProjectName: uexam
 * @Package: com.znufe.exam.base
 * @ClassName: VoteEntity
 * @Author: bot
 * @Description: 答题器实体类
 * @Date: 2020/6/17 8:42
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "VoteVM", description = "答题器答案提交服务，需要传入当前试卷ID、题目ID、班级ID")
public class VoteVM implements Serializable {

    /**
     * 投票器基站编号
     */
    @ApiModelProperty(name = "basementId" , value = "投票器基站编号")
    private String basementId;

    /**
     * 投票器子键编号
     */
    @ApiModelProperty(name = "keyId" , value = "投票器子键编号")
    private String keyId;

    /**
     * 当前试卷编号
     */
    @ApiModelProperty(name = "examId" , value = "当前试卷ID")
    private int examId;


    /**
     * 当前课程编号
     */
    @ApiModelProperty(name = "courseId" , value = "当前课程编号")
    private int courseId;


    /**
     * 当前考试类型
     */
    @ApiModelProperty(name = "examType" , value = "当前考试类型（必传）,0-课堂互动，1-正式考试")
    private int examType;

    /**
     * 班级编号
     */
    @ApiModelProperty(name = "classId" , value = "当前班级ID")
    private int classId;

    /**
     * 题目信息
     */
    @ApiModelProperty(name = "questionEditRequestVM" , value = "题目信息")
    private QuestionEditRequestVM questionEditRequestVM;
}
